package cn.kpi.service.sys.impl;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import cn.kpi.dao.sys.StatisDao;
import cn.kpi.service.sys.IStatisService;

@Service
public class StatisServiceImpl implements IStatisService {
	@Autowired
	private StatisDao statisDao;

	public List<Map> GetAgeList(String where) throws Exception {
		try {
			return statisDao.GetAgeList(where);
		} catch (Exception ex) {
			return null;
		}
	}

	public List<Map> GetDyList(String where) throws Exception {
		try {
			return statisDao.GetDyList(where);
		} catch (Exception ex) {
			return null;
		}
	}

	public List<Map> GetXlList(String where) throws Exception {
		try {
			return statisDao.GetXlList(where);
		} catch (Exception ex) {
			return null;
		}
	}
	 public List<Map> GetYmkqjzList(String where)throws Exception{
		 try {
				return statisDao.GetYmkqjzList(where);
			} catch (Exception ex) {
				return null;
			}
	 }
	 
	 public List<Map> GetSummaryListByWhere(String where,int year,int quarter)throws Exception{
		 try {
				return statisDao.GetSummaryListByWhere(where,year,quarter);
			} catch (Exception ex) {
				return null;
			}
	 }
	 public List<Map> GetKqjzqkListByWhere(String where,int nian,int yue)throws Exception{
		 try {
				return statisDao.GetKqjzqkListByWhere(where,nian,yue);
			} catch (Exception ex) {
				return null;
			}
	 }
}
